<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<style type="text/css">
    ul li span{
        color: green;
    }
</style>
<s:fielderror cssStyle="color:red;"></s:fielderror>
<s:if test="hasActionMessages()">
	<fieldset>
		<legend style="color: green;">
			Message
		</legend>
		<s:actionmessage cssStyle="color:green;"/>
	</fieldset>
</s:if>

<s:if test="hasActionErrors()">
	<fieldset>
		<legend style="color: red;">
			Error
		</legend>
		<s:actionerror cssStyle="color:red;" />
	</fieldset>
</s:if>

